package com.tledu.production.core.exception;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Antg
 * @date 2021/8/13  20:14
 */
@Data
@NoArgsConstructor
public class CustomException extends RuntimeException{
    private Integer code;
    public CustomException(String message, Integer code) {
        super(message);
        this.code = code;
    }

    public CustomException(String s) {
    }
}
